@extends('layout.admin.index')
@section('content')
<body>
<div class="panel admin-panel">
  <!-- 子列表显示 公司信息设置 -->
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>{{ $title }}</strong></div>
  <div class="body-content">

    <!-- 公司信息修改开始-跳转修改页面路由 -->
    <form method="post" class="form-x" action="/admin/config/dofirm">  
    {{ csrf_field() }}
      <div class="form-group">
      </div>


      <!-- 修改公司名称 -->
      <div class="form-group">
        <div class="label">
          <label>公司名称：</label>
        </div>
        <div class="field"  style="margin-bottom:-11px">
          <input type="text" class="input w50" value="{{ $data['firm_name'] }}" name="firm_name"/><font style="font-size:20px;color:red">*</font>
        </div>
        <div style="float:left;margin:8px 0 -10px 0;color:#aac">(公司名称)</div>
      </div>

      <!-- 版权信息 -->
      <div class="form-group">
        <div class="label">
          <label>版权信息：</label>
        </div>
        <div class="field" style="margin-bottom:-10px">
          <input type="text" class="input w50" value="{{ $data['firm_copyright'] }}" name="firm_copyright"/><font style="font-size:20px;color:red">*</font>
          <div class="tips"></div>
        </div>
        <div style="float:left;margin:8px 0 -10px 0;color:#aac">(网站所属的版权，如：Copyright&copy 2017-2-17)</div>
      </div>

      <!-- ICP备案号 -->
      <div class="form-group">
        <div class="label">
          <label>ICP备案号：</label>
        </div>
        <div class="field" style="margin-bottom:-10px">
          <input type="text" class="input w50" value="{{ $data['firm_icp'] }}" name="firm_icp"/><font style="font-size:20px;color:red">*</font>
          <div class="tips"></div>
        </div>
        <div style="float:left;margin:8px 0 -10px 0;color:#aac">(信息产业部所办法的备案信息。如：京ICP备100000010号)</div>
      </div>

      <!-- 客服电话 -->
      <div class="form-group">
        <div class="label">
          <label>客服电话：</label>
        </div>
        <div class="field" style="margin-bottom:-10px">
          <input type="text" class="input w50" value="{{ $data['firm_phone'] }}" name="firm_phone"/><font style="font-size:20px;color:red">*</font>
          <div class="tips"></div>
        </div>
        <div style="float:left;margin:8px 0 -10px 0;color:#aac">(客服电话)</div>
      </div>

      <!-- 客服QQ -->
      <div class="form-group">
        <div class="label">
          <label>客服QQ：</label>
        </div>
        <div class="field" style="margin-bottom:-10px">
          <input type="text" class="input w50" value="{{ $data['firm_qq'] }}" name="firm_qq"/><font style="font-size:20px;color:red">*</font>
          <div class="tips"></div>
        </div>
        <div style="float:left;margin:8px 0 -10px 0;color:#aac">(客服 QQ)</div>
      </div>
      <!-- 获取id -->
      <input type="hidden" name="id" value="{{ $data['id'] }}">


      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 更新站点设置</button>
        </div>
      </div>
    </form>
    <!-- 管理员修改结束 -->
  </div>
</div>
</body>
@endsection